package com.zatech.cgnci.project.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zatech.cgnci.project.base.result.PageQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/18 14:55
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CgnciEndorsementInsuranceQueryDTO")
public class CgnciEndorsementInsuranceQueryDTO extends PageQueryDTO {

    @ApiModelProperty(value = "业务类型(1-保单,2-分入合约,3-分出合约),码表值:businessInsuranceType",hidden = true)
    private String businessType;

    @ApiModelProperty("再保类型(1-预约临分,2-合约),码表值:reinsuranceType")
    private String reinsuranceType;

    @ApiModelProperty("业务形式(1-比例,2-非比例),码表值:proportionalMode")
    private String businessForm;

    @ApiModelProperty("业务承接类型(1-临分分入,2-预约临分分入,3-合约分入),码表值:projectAcceptanceType")
    private String projectAcceptanceType;

    @ApiModelProperty(value = "业务编号")
    private String businessNo;

    @ApiModelProperty("批改号")
    private String endorsementNo;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "起保日期开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String startDateStart;

    @ApiModelProperty(value = "起保日期结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String startDateEnd;

    @ApiModelProperty(value = "终保日期开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endDateStart;

    @ApiModelProperty(value = "终保日期结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endDateEnd;

    @ApiModelProperty("险类")
    private String riskClass;

    @ApiModelProperty("险类代码")
    private String riskClassCode;

    @ApiModelProperty("险种")
    private String riskSubType;

    @ApiModelProperty("险种代码")
    private String riskSubTypeCode;

    @ApiModelProperty(value = "状态(0:录入中,1:审核中,2:退回录入中,3:已完成,4:已注销),码表值:businessStatus")
    private String status;

    @ApiModelProperty(value = "是否生效(1-是, 0-否),码表值:isYes")
    private String isEffective;

}
